<template>
  <div class="p-5 pb-0 sm:p-10 lg:p-20 w-full">
    <a-button @click="router.back()"> 返回 </a-button>
    <a-row>
      <a-col :xs="24" :span="12">
        <h1 class="text-6xl font-bold text-[#484848]">Oops!</h1>
        <h2>你没有权限去该页面</h2>
        <h4>如有不满请联系你领导</h4>
        <div class="flex flex-col items-start gap-1.5 text-sm">
          <span>或者你可以去:</span>
          <a-button type="primary" @click="router.push('/dashboard')">回首页</a-button>
        </div>
      </a-col>
      <a-col :xs="24" :span="12">
        <img src="@/assets/images/error/401.svg" class="w-full" />
      </a-col>
    </a-row>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router'
defineOptions({ name: 'Page401' })
const router = useRouter()
</script>
